<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>七颗牙学堂线上收银台</title>
    <script src="./assets/js/jquery.min.js"></script>
</head>
<style>
html,body{
    margin: 0;
    padding: 0;
}
.title{
    width: 100vw;
    height: 40px;
    line-height: 40px;
    background-color: #459CFE;
    color: #fff;
    text-align: center;
}
    .success img{
        display: block;
        width: 70px;
        height: 70px;
        margin:50px auto 30px;

    }
    .text{
        font-size: 12px;
        color: #999;
        margin: 20px;
        text-align: center;
    }
    p{
        text-align: center;
        font-size: 16px;
        font-weight: bold;
    }

</style>
<body>
    <div class="title">支付成功</div>
    <div class="success">
        <img src="./assets/img/succ.jpeg" alt="">
    </div>
    <p>支付成功</p>
    <div class="text">订单编号:</div>
</body>
<script type="text/javascript">
      $(function(){
        let aa=decodeURI(location.href)
        console.log(aa);
        let str=aa.split('order_sn')[1].split(':')[1].split('}')[0]
        let order= str.replace("\"","").replace("\"","");
        console.log(order);
        $('.text').text('订单编号:'+order)
    })

</script>
</html>